import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// import '@/scss/index.scss'
import '@/scss/common.scss'
import Element from 'element-ui'
Vue.use(Element)

import 'element-ui/lib/theme-chalk/index.css'

import 'flex.css'

import mixin from '@/mixins/index'
Vue.mixin(mixin)

import dataV from '@jiaminghi/data-view'
Vue.use(dataV)

Vue.config.productionTip = false

import VueTouch from 'vue-touch'

Vue.use(VueTouch, { name: 'v-touch' })

Vue.prototype.$eventBus = new Vue({})

new Vue({
  data: { selfAdaptionStyle: {}},
  router,
  store,
  render: h => h(App)
}).$mount('#app')
